#include "Factory.h"
using namespace Factory;
void main()
{
	AbstractFac* m_fac = nullptr;
	AbstractPro* pro = nullptr;
	m_fac = new BasketballlFac();
	pro = m_fac->getPro();
	if (m_fac!=nullptr)
	{
		delete m_fac;
	}
	if (pro!=nullptr)
	{
		delete pro;
	}
}